package org.example.paymentservice.service;

import org.example.paymentservice.dto.PaymentRequest;
import org.example.paymentservice.dto.RefundRequest;
import org.example.paymentservice.entity.Order;
import org.example.paymentservice.entity.PaymentTransaction;

public interface PaymentService {
    PaymentTransaction processPayment(PaymentRequest paymentRequest);
    PaymentTransaction processRefund(RefundRequest refundRequest);
    Order getOrderById(Long orderId);
    void validatePayment(String paymentId);
}